package com.iweb.user.model;

public class Ticket {
    private int ticketId;
    private int showId;
    private String category;
    private double price;
    private int totalCount;
    private String description;

    public Ticket() {
    }

    public Ticket(int ticketId, int showId, String category, double price, int totalCount, String description) {
        this.ticketId = ticketId;
        this.showId = showId;
        this.category = category;
        this.price = price;
        this.totalCount = totalCount;
        this.description = description;
    }

    public int getTicketId() {
        return ticketId;
    }

    public void setTicketId(int ticketId) {
        this.ticketId = ticketId;
    }

    public int getShowId() {
        return showId;
    }

    public void setShowId(int showId) {
        this.showId = showId;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "Ticket{" +
                "ticketId=" + ticketId +
                ", showId=" + showId +
                ", category='" + category + '\'' +
                ", price=" + price +
                ", totalCount=" + totalCount +
                ", description='" + description + '\'' +
                '}';
    }
}